//测温

const int WenDuPin = A0;

void setup()
{
  // put your setup code here, to run once:
  Serial.begin(9600);
  pinMode(WenDuPin, INPUT);
}

void loop()
{
  // put your main code here, to run repeatedly:
  int value = analogRead(WenDuPin);
  Serial.println(value * 500 / 1024);
  delay(1000);
}
